package org.example.zsfmybatis.service;

import org.example.zsfmybatis.mapper.OrderMapper;
import org.example.zsfmybatis.model.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {
    @Autowired
    OrderMapper orderMapper;
    public void addOrder(Order order) {
        orderMapper.addOrder(order);
    }
}
